home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / emerald / emrldsys.lha / Language / ExecTests / thairy.m < prev    next >
Text File  |  1990-08-31  |  338b  |  12 lines

  1. import runtest from "RunTest"
  2.  
  3. const thairy <- object thairy
  4.   const myTest == runtest.create[stdin, stdout, "thairy"]
  5.   process
  6.     % each test looks like myTest.check[<boolean expression>, "<same exp>"]
  7.     var i, j : Integer
  8.     i <- ((i + i) * (i + i) * (i + i) + (i + i) * (i + i) * (i + i))
  9.     myTest.done
  10.   end process
  11. end thairy
  12.